//
//  MSignupViewCell.m
//  Gunz
//
//  Created by Joggy on 16/5/18.
//  Copyright © 2016年 NUPT. All rights reserved.
//

#import "MSignupViewCell.h"

@implementation MSignupViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    _headImage = [[UIImageView alloc] initWithFrame:CGRectMake(MineVCInsert*4, (MineVCCellHeight - MineVCInsert - MineVCHeadImageWidth)/2, MineVCHeadImageWidth, MineVCHeadImageWidth)];
    _headImage.image = [UIImage imageNamed:@"插图1"];
    [self.contentView addSubview:_headImage];
    _headTitle = [[UILabel alloc] initWithFrame:CGRectMake(_headImage.frame.origin.x + _headImage.frame.size.width + MineVCInsert*4, _headImage.frame.origin.y, MineVCTitleWidth, 15)];
    _headTitle.text = @"超市采购数据采集";
    _headTitle.font = [UIFont systemFontOfSize:15];
    _headTitle.textColor = [UIColor colorWithRed:0.3 green:0.345 blue:0.43 alpha:1];
    [self.contentView addSubview:_headTitle];
    //
    UILabel *beginTimeLabel = [[UILabel alloc] initWithFrame:CGRectMake(_headTitle.frame.origin.x, _headImage.frame.origin.y + _headImage.frame.size.height - 28, 52, 14)];
    beginTimeLabel.text = @"开始时间:";
    beginTimeLabel.font = [UIFont systemFontOfSize:12];
    beginTimeLabel.alpha = 0.6;
    [self.contentView addSubview:beginTimeLabel];
    _beginTime = [[UILabel alloc] initWithFrame:CGRectMake(beginTimeLabel.frame.origin.x + beginTimeLabel.frame.size.width + MineVCInsert, beginTimeLabel.frame.origin.y, MineVCTitleWidth, 14)];
    _beginTime.text = @"2016.5.16";
    _beginTime.font = [UIFont systemFontOfSize:12];
    _beginTime.alpha = 0.6;
    [self.contentView addSubview:_beginTime];
    UILabel *checkingLabel = [[UILabel alloc] initWithFrame:CGRectMake(_headTitle.frame.origin.x, _headImage.frame.origin.y + _headImage.frame.size.height - 14, 88, 14)];
    checkingLabel.text = @"正在审核中...";
    checkingLabel.font = [UIFont systemFontOfSize:12];
    checkingLabel.alpha = 0.6;
    [self.contentView addSubview:checkingLabel];
    return self;
}

@end
